If an axe is held against a spinning grindstone, the friction generated will make the tip of the wedge thinner and thus sharper. The resulting sparking is caused by heat-generating friction.